package com.wpen.unit.web.dto.job;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.wpen.unit.commun.BaseRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "依赖信息-新增(请求)")
@Data
@EqualsAndHashCode(callSuper=false)
public class DependonAddRequest extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;
    
    @Schema(description = "依赖列表", required = true)
    @NotNull
    @NotEmpty
    private List<DependonAddDependsRequest> depends = new ArrayList<>();

}